package com.lvcoding.cloud.auth.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

/**
 * @Description 回调控制器
 * @Date 2020-07-15 3:33 下午
 * @Author wuyanshen
 */
@RestController
@RequestMapping("callback")
public class CallbackController {

    @GetMapping("code")
    public Map fallback(String code){
        Map map = new HashMap<>();
        map.put("code",code);
        return map;
    }
}
